package com.sz.mes.mapper;

import com.diboot.core.mapper.BaseCrudMapper;
import com.sz.mes.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.io.Serializable;

/**
* 商品Mapper
* @author hem
* @version 1.0
* @date 2023-06-14
 * Copyright © szhs
*/
@Mapper
public interface GoodsMapper extends BaseCrudMapper<Goods> {

    Integer insertIgnoreInto(@Param("goods") Goods goods);

    Integer deleteByGoodsId(@Param("id") Long id);

    void deleteAll();

    void truncateAll();
}

